package com.jier.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * 系统用户控制器
 *
 * @author jie_r
 * @date 2018/03/08
 */
@Controller
@RequestMapping("/")
public class IndexController extends BaseController {
    /**
     * 控制台页面
     *
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "console", method = RequestMethod.GET)
    public ModelAndView consoleLoginPage() throws Exception {
        return new ModelAndView("redirect:/login.html");
    }
}
